<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\Article */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="article-form">

    <?php $form = ActiveForm::begin(); ?>
    <table class="table table-striped " style="width: 60%;">
        <tr>
            <td>帐号</td>
            <td>
                <?= $form->field($model, 'username')->textInput(['maxlength' => true])->label(false) ?>
            </td>
        </tr>
        <tr>
            <td>auth_key</td>
            <td>
                <?= $form->field($model, 'auth_key')->textInput(['maxlength' => true])->label(false) ?>
            </td>
        </tr>
        <tr>
            <td>auth_key</td>
            <td>
                <?= $form->field($model, 'auth_key')->textInput(['maxlength' => true])->label(false) ?>
            </td>
        </tr>
    </table>
    <div class="form-group">
        <?= Html::submitButton(Yii::t('app', 'Save'), ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
